import java.util.Scanner;

class Multiplication
{
	
	

	public static void main(String[] args)
	{
		String decision = "";
		 int d = 0;
		 int c = 0; 
		 while (!(decision.equals("Quit")))
		{
		Scanner input = new Scanner(System.in);
	   
		System.out.println("\nWhat do you want to do?");
	    decision = input.nextLine();
	    System.out.println("Enter a number or type -1 to quit ::");
	    d = input.nextInt();
	    System.out.println("Enter another number or type -1 to quit::");
	    c = input.nextInt();
	    apples appleObject = new apples(d,c);
	
	    if (decision.equals("Multiplication Problems"))
	    {
			appleObject.multiply();
	    }
	    if (decision.equals("Division Problems"))
	    {
	    	appleObject.divide();
	    }
	    if (decision.equals("Subtraction Problems"))
	    {
	    	appleObject.subtract();
	    }
	    if (decision.equals("Addition Problems"))
	    {
	    	appleObject.add();
	    }
	
			

		}
	}
}

	
	
